package com.example.gitflow.controller;


import com.example.gitflow.domian.User;
import com.example.gitflow.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {

    @Autowired
    private UserService userService;
    public void hello(User user){
        userService.login(user);
        System.out.println("hello User");
    }
    public void incr(){
        System.out.println("进行积分统计");
    }

    public void b(){
        System.out.println("积分bug修复");
    }
}
